package HOME_WORK;

import java.util.Scanner;

/**
 * @author 小李要吃鱼
 * @date 2021-01-13 17:54
 */
public class class6 {
    public static  void  main(String[] args){
        Scanner  num = new Scanner(System.in) ;
        int nom =  num.nextInt();
        System.out.println(nom*nom);

        double s1 = num.nextDouble();
        double s2 = num.nextDouble();
        double result  = s1 - s2 ;
        System.out.println(result);


    }
}

